package com.five.api.service;

import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.awt.*;

/**
 *  验证码接口
 */

public interface CaptchaService {
    void doGet(HttpServletRequest request, HttpServletResponse response);
    void doPost(HttpServletRequest request, HttpServletResponse response);
    Color getRandomColor(int minColor, int maxColor);

}
